Skip to content

Conversation

@rabanspiegel
Copy link
Contributor

@rabanspiegel rabanspiegel commented Jan 15, 2026

Builds on top of the titlebar context controls work (commits from parent branch).

Parent branch changes (not yet merged):

  • Refine titlebar context controls
  • Adjust titlebar context styling
  • Fix titlebar dropdown truncation

This PR adds:

  • Fix titlebar select truncation with proper ellipsis display
  • Add block display to trigger span so max-width takes effect
  • Apply truncate class for proper text-overflow: ellipsis
  • Align truncation width (218px) between titlebar and dropdown items

Before: Long task/project names were clipped without ellipsis, and truncation point differed between titlebar and dropdown
After: Names truncate with ellipsis at the same point in both places


Note

Introduces titlebar context controls and improves text truncation for long names.

  • Add TitlebarContext (project/task selectors) centered in the titlebar; plumb projects, selectedProject, activeTask, and selection handlers from AppTitlebarTitlebarContext
  • Fix select truncation: set trigger spans to block, apply max-w-[218px] and truncate to triggers and dropdown items for consistent ellipsis
  • Refine OpenInMenu button styles (smaller height, adjusted typography/hover) and reduce chevron size/opacity

Written by Cursor Bugbot for commit c19b51d. This will update automatically on new commits. Configure here.

rabanspiegel and others added 6 commits January 14, 2026 22:55
- Add block display to span for max-width to take effect
- Apply truncate class for proper text-overflow: ellipsis
- Set consistent max-width (236px) for both project and task selectors

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Set trigger span max-width to 218px to match dropdown text area width
@vercel
Copy link

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Jan 20, 2026 0:05am

Request Review

- Keep welcome screen conditional rendering from main
- Add project/task context props to Titlebar from PR branch
- Maintain conditional className for main content div
@arnestrickmann
Copy link
Contributor

nice,
just found that i cannot drag the app clicking the header bar in the marked area in the screenshot
Screenshot 2026-01-15 at 11 56 38

- Use absolute positioning for center content to keep it truly centered
- Move no-drag from wrapper divs to SelectTrigger elements
- Add pointer-events-auto to SelectTriggers for clickability
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@rabanspiegel rabanspiegel merged commit b951d83 into main Jan 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants